package com.vip8.recorder.api.facade;

import com.vip8.recorder.api.model.base.MultiResult;
import com.vip8.recorder.api.model.base.SingleResult;
import com.vip8.recorder.api.model.dto.AppVersionDTO;
import com.vip8.recorder.api.model.dto.HeartbeatDTO;

public interface DeviceFacade {

    /**
     * 设备心跳接口
     * @param deviceParams
     * @return
     */
    SingleResult<Boolean> heartbeat(String deviceParams);

    /**
     * 设备心跳接口
     * @param batchParams
     * @return
     */
    SingleResult<Boolean> batchHeartbeat(String batchParams);

    /**
     * 检查设备版本号
     * @param param
     * @return
     */
    SingleResult<AppVersionDTO> checkVersion(String param);

    /**
     * 查询人员分布
     * @param deviceParams
     * @return
     */
    MultiResult<HeartbeatDTO> queryPersonDistribution(String deviceParams);

    /**
     * 轨迹查询
     * @param deviceParams
     * @return
     */
    MultiResult<HeartbeatDTO> queryTrack(String deviceParams);

}
